package ru.compft.common.utils;

/**
 * User: ASUS
 * Date: 24.10.12
 * Time: 8:58
 * Коды ошибок выбрасываемые в приложении
 */
public interface GlobalErrors {

    String MODULE_NOT_FOUND = "module.not.found";
    String MODULE_PAGE_NOT_FOUND = "module_page.not.found";
    String FIELD_REQUIRED = "field.required";
    String FIELD_MIN_LENGTH = "field.min.length";
    String FIELDS_NOT_EQUALS = "fields.not.equals";
    String LOGIN_FAILED = "login_failed";
    String ACCOUNT_LOCKED = "account_locked";
    String ACCOUNT_DISABLED = "account_disabled";
    String CURRENT_PAGE_LESS_ONE = "current.page.less.one";
    String CURRENT_PAGE_NOT_NUMBER = "current.page.not.number";
    String PAGE_COUNT_LESS_CURRENT = "page.count.less.current";
}
